Wifi: Add ether type to sending offloaded packet In current implementation, the ether type used for offloaded packets is always hardcoded to IPv4 in lower layers. This commit adds support to specify ether type of offloaded packets from user space. This reflects in the prototype of the hal function with no current implementation change. Bug: 122487582 Test: Manual Change-Id: I49ffebabd75f3a9ec7e225bb6992aa5eca4edc67 
diff --git a/bcmdhd/wifi_hal/wifi_offload.cpp b/bcmdhd/wifi_hal/wifi_offload.cpp index 9ef1912..99c2fec 100644 --- a/bcmdhd/wifi_hal/wifi_offload.cpp +++ b/bcmdhd/wifi_hal/wifi_offload.cpp 
@@ -216,7 +216,8 @@    /* API to send specified mkeep_alive packet periodically. */  wifi_error wifi_start_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface, - u8 *ip_packet, u16 ip_packet_len, u8 *src_mac_addr, u8 *dst_mac_addr, u32 period_msec) + u16 /* ether_type */, u8 *ip_packet, u16 ip_packet_len, u8 *src_mac_addr, u8 *dst_mac_addr, + u32 period_msec)  {  if ((index > 0 && index <= N_AVAIL_ID) && (ip_packet != NULL) && (src_mac_addr != NULL)  && (dst_mac_addr != NULL) && (period_msec > 0)